package com.witmore.skyline.web.service;

import com.witmore.skyline.web.controller.vo.result.ResponseResult;
import com.witmore.skyline.web.service.third.yjx.dto.WorkDetailDTO;
import com.witmore.skyline.web.service.third.yjx.dto.WorkTimeListDTO;

import java.time.LocalDate;
import java.util.List;

/**
 * Description: DeviceTimeService
 * Author: 豆子高
 * Date: 2025/2/25 10:12
 */
public interface DeviceTimeService {

    /**
     * 某天工作详情
     */
    ResponseResult<List<WorkDetailDTO>> workTimeDetails(String deviceSn, LocalDate date);

    /**
     * 某天的工作详情带状态
     */
    ResponseResult<List<WorkDetailDTO>> workTimeDetailWithStatus(String deviceSn, LocalDate date);

    /**
     * 工时统计
     */
    ResponseResult<List<WorkTimeListDTO>> workTimeList(String deviceSn, LocalDate startDay, LocalDate endDay);

}
